#!/bin/zsh
# 下载完毕brew之后，安装必要的开发环境

# 安装flutter
cd
git clone -b master https://mirrors.tuna.tsinghua.edu.cn/git/flutter-sdk.git
echo "\n\n# Flutter SDK" >> ~/.zshrc
echo "FLUTTER_STORAGE_BASE_URL=https://mirrors.tuna.tsinghua.edu.cn/flutter" >> ~/.zshrc
echo PUB_HOSTED_URL="https://mirrors.tuna.tsinghua.edu.cn/dart-pub" >> ~/.zshrc
echo PATH='$PATH:~/flutter-sdk/bin' >> ~/.zshrc